//定义参数
export type QuestionTitlePropsType = {
  text?: string;
  level?: 1 | 2 | 3 | 4 | 5;
  isCenter?: boolean;
  disabled?: boolean;
  onChange?: (newProps: QuestionTitlePropsType) => void;
};

//默认参数
export const QuestionTitleDefaultProps: QuestionTitlePropsType = {
  text: "一行标题",
  level: 1,
  isCenter: false,
};
